package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.sup.SuperEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 刘国航
 * @desc 订单上链费奖励记录
 * @since 2024/10/21 11:02
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_order_gas_rewards_record")
public class OrderGasRewardsRecord extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 746335080667639811L;

    /**
     * 帐号id
     */
    private Long userId;

    /**
     * 藏品id
     */
    private Long collectionId;

    /**
     * 藏品持有总数量
     */
    private Integer holdCount;

    /**
     * 上链费分红
     */
    private BigDecimal gas;

    /**
     * 分红时间
     */
    private Date rewardsTime;

}
